<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html>
<head>
<title>PostgreSQL PHP tutorial</title>
<link rel="stylesheet" href="/cfg/format.css" type="text/css">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="keywords" content="PHP, PostgreSQL, database, tutorial, learn PostgreSQL PHP ">
<meta name="description" content="This is PostgreSQL PHP tutorial. In this tutorial, 
you will learn the basics of programming PostgreSQL with the PHP language.">
<meta name="language" content="en">
<meta name="author" content="Jan Bodnar">
<meta name="distribution" content="global">

<script type="text/javascript" src="/lib/jquery.js"></script>
<script type="text/javascript" src="/lib/common.js"></script>

<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-5536206-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

</head>

<body>

<div class="container2">

<div id="wide_ad" class="ltow">

<div>
<script type="text/javascript"><!--
google_ad_client = "pub-9706709751191532";
/* 160x600, August 2011 */
google_ad_slot = "2484182563";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>

</div>


<div class="content2">

<a href="/" title="Home">Home</a>


<h1>PostgreSQL PHP tutorial</h1>


<p>
This is a PHP tutorial for the PostgreSQL database. It covers the basics of 
PostgreSQL programming with PHP. The examples were created and tested on Linux. 
</p>


<h2>Table of Contents</h2>

<ul>
    <li><a href="intro/">Introduction</a></li>
    <li><a href="read/">Reading data</a></li>
    <li><a href="images/">Working with images</a></li>
    <li><a href="meta/">Getting database metadata</a></li>
    <li><a href="trans/">Transactions</a></li>
</ul>


<h2>PostgreSQL &amp; PHP</h2>

<p>
<b>PostgreSQL</b> is a powerful, open source object-relational 
database system. It is a multi-user, multi-threaded database 
management system. It runs on multiple platforms including Linux, 
FreeBSD, Solaris, Microsoft Windows and Mac OS X. PostgreSQL is 
developed by the PostgreSQL Global Development Group.
</p>

<p>
<b>PHP</b> is a scripting language designed for web development. 
It is used to produce dynamic web pages. Currently, PHP is one of 
the most widely used programming languages. Much of its syntax is 
borrowed from C, Java and Perl with a couple of unique PHP-specific 
features. PHP can be embedded into HTML code and it generally 
runs on a web server. PHP supports both object oriented and procedural 
programming styles.
</p>


<h2>Similar tutorials</h2>

<p>
If you need to refresh your knowledge of the PHP language, there is a full 
<a href="/lang/php/">PHP tutorial</a> on ZetCode.  
You can also find <a href="/databases/mysqlphptutorial/">MySQL PHP tutorial</a> and
<a href="/databases/sqlitephptutorial/">SQLite PHP tutorial</a> on ZetCode.
</p>

<div class="g-plusone"></div>


<div class="footer">
<div class="signature">
<a href="/">ZetCode</a> last modified May 4, 2012  <span class="copyright">&copy; 2007 - 2013 Jan Bodnar</span>
</div>
</div>

</div> <!-- content -->

</div> <!-- container -->

</body>
</html>

